package net.ermannofranco.xml.schema;

/**
 * Interface for content type (simple or complex)
 * 
 * @author ermanno (ermanno.franco@gmail.com)
 * 
 */
public interface ContentType extends BaseTypeContainer{
	/**
	 * 
	 * @return the name of the type in the schema, as the result of name="..."
	 */
	String getTypeName();

	/**
	 * true for simpletype and complextype with simplecontent
	 * @return
	 */
	boolean isNotVeryComplex();
	
}
